// import http from 'http';

const http = require('http');
const httpServer = http.createServer();
httpServer.on('request', (req, res) => {
  res.writeHead(200, { aa: 'aa' });
  res.end('hello world\n');
});

httpServer.listen(3000);
console.log('server starting');
